using System;

using Sunyi.Project.WebPoint.DataAccessController;
using Sunyi.Project.WebPoint.DataContract;

namespace Sunyi.Project.WebPoint.BusinessLogic
{
    public partial class PermissionManager
    {
        PermissionDaoController controller = new PermissionDaoController();

        public Permission Select(Guid permissionId)
        {
            return controller.Select(permissionId);
        }

        public void Insert(Permission permission)
        {
            controller.Insert(permission);
        }

        public void Update(Permission permission)
        {
            controller.Update(permission);
        }

        public void Delete(Guid id)
        {
            controller.Delete(id);
        }
    }
}
